home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pesquisa Dirigida
/
Pesquisa Dirigida.iso
/
JOGOS
/
frogger.swf
/
scripts
/
DefineSprite_247
/
frame_20
/
DoAction.as
Wrap
Text File
|
2005-01-07
|
472b
|
22 lines
w1_x = getProperty("/wasser13", _X) + "50";
w2_x = getProperty("/wasser13", _X) - "50";
frog_x = getProperty("/frosch", _X);
frog_y = getProperty("/frosch", _Y);
if(frog_y < "62" and "48" < frog_y and frog_x < w1_x and w2_x < frog_x)
{
tellTarget("/frosch")
{
gotoAndStop("dead");
play();
}
tellTarget("/steuerung")
{
gotoAndStop("aus");
play();
}
tellTarget("/restzeit")
{
gotoAndPlay(1);
}
}